<?php
// set this variable to the root directory which contains tarballs 
// you want to index, it'll loop recursively into sub-directories.
$tar_root='/storage/wang/quadtree_data/tar_file_data/vector';

// patches, patches will be forced to index in sequence.
// put every tarball in sequence line by line into this file
//
// $tar_root."./tarballs.txt"
//
// example: /storage/wang/quadtree_data/tar_file_data/image/tarball.txt
// tar1.tar
// tar2.tar
// ...
$patchfile = $tar_root.'/tarballs.txt';

// specifiy the base directory of tarballs.
// query parameter can stripe off prefix in query request by $base
// for example if you query is like:
//
//        q.php?v=root/i.png
//
// after you specified $base you can make your query as:
//
//        q.php?v=i.png
//
$base='root';

// the db path.
$dbpath	= $tar_root.'/db';

// the filedb path.
$filedbpath = $tar_root.'/filedb';


// set if you visit with &row=7&col=8&level=4 
$picname = 'i.png';
?>
